
<h2>Réglages des médias</h2>
<h3>Taille des images</h3>
<p class="alert">Les tailles précisées ci-dessous déterminent les dimensions maximales (en pixels) à utiliser lors de l’insertion d’une image dans le corps d’un article.</p>

<form class="form-horizontal" action="<?php echo $CFG->config['base_url']?>setting/medias/create" method="post">


<legend>Taille des miniatures</legend>
<div class="control-group">
	<label class="control-label" for="thumbnail_size_w">Largeur</label>
	<div class="controls">
		<input name="medias[thumbnail_size_w]" step="1" min="0" id="thumbnail_size_w" value="<?php echo $medias['thumbnail_size_w']?>" class="small-text" type="number">
	</div>
	<label class="control-label" for="thumbnail_size_h">Hauteur</label>
	<div class="controls">
		<input name="medias[thumbnail_size_h]" step="1" min="0" id="thumbnail_size_h" value="<?php echo $medias['thumbnail_size_h']?>" class="small-text" type="number"><br>
	</div>
</div>
<legend>Grande taille</legend>
<div class="control-group">
	<label class="control-label">Largeur maximale</label>
	<div class="controls">
		<input name="medias[large_size_w]" step="1" min="0" id="large_size_w" value="<?php echo $medias['large_size_w']?>" class="small-text" type="number">
	</div>
	<label class="control-label">Hauteur maximale</label>
	<div class="controls">
		<input name="medias[large_size_h]" step="1" min="0" id="large_size_h" value="<?php echo $medias['large_size_h']?>" class="small-text" type="number">
	</div>
</div>
<legend>Limitations</legend>
<div class="control-group">
	<label class="control-label" for="max_size">Taille maximale de fichier</label>
	<div class="controls">
		<input name="medias[max_size]" step="1" min="0" id="max_size" value="<?php echo $medias['max_size']?>" class="small-text" type="number">
	</div>
	
	<label class="control-label" for="allowed_types">Extention de fichier (sépare par |)</label>
	<div class="controls">
		<input name="medias[allowed_types]"  id="allowed_types" value="<?php echo $medias['allowed_types']?>" class="small-text" type="text">
	</div>
</div>



<p class="controls">
<input name="medias_submit" id="submit" class="btn" value="Enregistrer les modifications" type="submit"></p>
</form>

